package com.turing.post.organization.util;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 商户分支机构
 * 
 * @author zxp
 * @date 2012-12-14
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "MERCHANTBRANCH")
public class MerchantBranch implements java.io.Serializable {
	/**
	 * 商户机构号
	 */
	private String merchantBranchNo;

	/**
	 * 上级商户机构号
	 */
	private String superMerchantBranchNo;
	/**
	 * 商户机构名称
	 */
	private String merchantBranchName;
	/**
	 * 隶属商户号
	 */
	private String merchantNo;
	/**
	 * 外部机构号
	 */
	private String externalBranchNo;
	/**
	 * 行政区域
	 */
	private String regionNo;
	/**
	 * 联系地址
	 */
	private String address;
	/**
	 * 联系电话
	 */
	private String linkTele;
	/**
	 * 联系人
	 */
	private String linkMan;

	public MerchantBranch() {
	}

	@Id
	@Column(name = "MERCHANTBRANCHNO", nullable = false)
	public String getMerchantBranchNo() {
		return this.merchantBranchNo;
	}

	public void setMerchantBranchNo(String merchantBranchNo) {
		this.merchantBranchNo = merchantBranchNo;
	}

	@Column(name = "SUPERMERCHANTBRANCHNO")
	public String getSuperMerchantBranchNo() {
		return superMerchantBranchNo;
	}

	public void setSuperMerchantBranchNo(String superMerchantBranchNo) {
		this.superMerchantBranchNo = superMerchantBranchNo;
	}

	@Column(name = "MERCHANTBRANCHNAME")
	public String getMerchantBranchName() {
		return merchantBranchName;
	}

	public void setMerchantBranchName(String merchantBranchName) {
		this.merchantBranchName = merchantBranchName;
	}

	@Column(name = "MERCHANTNO", nullable = false)
	public String getMerchantNo() {
		return merchantNo;
	}

	public void setMerchantNo(String merchantNo) {
		this.merchantNo = merchantNo;
	}

	@Column(name = "EXTERNALBRANCHNO")
	public String getExternalBranchNo() {
		return externalBranchNo;
	}

	public void setExternalBranchNo(String externalBranchNo) {
		this.externalBranchNo = externalBranchNo;
	}

	@Column(name = "REGIONNO")
	public String getRegionNo() {
		return regionNo;
	}

	public void setRegionNo(String regionNo) {
		this.regionNo = regionNo;
	}

	@Column(name = "ADDRESS")
	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Column(name = "LINKTELE")
	public String getLinkTele() {
		return this.linkTele;
	}

	public void setLinkTele(String linkTele) {
		this.linkTele = linkTele;
	}

	@Column(name = "LINKMAN")
	public String getLinkMan() {
		return linkMan;
	}

	public void setLinkMan(String linkMan) {
		this.linkMan = linkMan;
	}
}